package Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword;

use Moose::Role;

sub do_apply {
  my $self = shift;
  my $user = $self->target_model;
  $user->password($self->new_password);
  $user->update;
  return $user;
}

1;
